#include "worker.h"
#include <QString>

Worker::Worker(QObject *parent) : QObject(parent)
{

}

void Worker::doWork(const QString &parameter)
{
    for(int i=0;i<100;i++)
    {
        QString result = QString("in MyThread: %1").arg(i);
        emit resultReady(result);
    }

}
